package com.itcm.actuator.controller;


import com.itcm.actuator.entity.UmsMember;
import com.itcm.actuator.service.UmsMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 会员 前端控制器
 * </p>
 *
 * @author sky
 * @since 2020-12-21
 */
@RestController
@RequestMapping("/actuator/ums-member")
public class UmsMemberController {

    @Autowired
    private UmsMemberService umsMemberService;

    @GetMapping("list")
    public void getMember() {
        List<UmsMember> list = umsMemberService.list(null);
        System.out.println(list);
    }
}

